package com.bw.feignclient.service;


import com.bw.common.dto.UserDTO;
import com.bw.common.vo.UserVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
//注册中心中 需要调用服务的名字
//@FeignClient(name = "EUREKA-CLIENT-1",fallback = UserServiceFallBack.class)
@FeignClient(name = "EUREKA-CLIENT-1",fallbackFactory = UserServiceFallBackFactory.class)
public interface UserService {


    @RequestMapping("/user/getUserID")
    public UserVO getUserID(UserDTO userDTO);
}
